<!-- Ventana Cliente -->
<div class="modal" id="myModalC" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display:none;width:700px;">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true" onclick="limpiardiv('clientes')" >×</button>
        <h3 id="myModalLabel">Buscar Cliente</h3>
    </div>
    <div class="modal-body" style="height:800px;">
        <?php
        $option=array(array('value'=>'Todos','label'=>'Todos'),array('value'=>'Natural','label'=>'Personal Natural'),
            array('value'=>'Juridico','label'=>'Personal Jurídico'));
        sipcop_radioInline('tipPer', 'Tipo Persona: ', $option, 'Todos', true);
        echo "<table width=100%><tr><td colspan='1'>";
        sipcop_inputTextSi('ruc', 'RUC', '','6' ,$active=true);
        echo "</td><td colspan='1'>";
        sipcop_inputTextSi('razon', 'Razón Social', '','6', $active=true);
        echo "</td><tr><td colspan='2'>";
        sipcop_inputTextSi('docu', 'Documento (Repre.)', '','2' , $active=true);
        echo "</td><tr><td colspan='1'>";
        sipcop_inputTextSi('nombs', 'Nombres', '','6' , $active=true);
        echo "</td><td colspan='1'>";
        sipcop_inputTextSi('apellidos', 'Apellidos', '','6' , $active=true);
        echo "</td></tr></table>";
        sipcop_button('buscar', 'button', 'Buscar', $btnStyle='btn btn-success', '','onclick=\'buscarcliente()\'');
        ?>
        <div id="clientes" name="clientes"></div>
    </div>
    
    <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true" onclick="limpiardiv('clientes')">Close</button>        
    </div>
</div>
